#pragma once
#include <vector>

namespace acr
{

struct Point
{
	int x, y;
	double curv;

	__declspec(dllexport) Point(const int x, const int y, const double curv = 0.0)
		: x(x), y(y), curv(curv) {}

	__declspec(dllexport) Point() : x(0), y(0), curv(0) {}
};

__declspec(dllexport)
void getHandContour(
	const unsigned char *img_data,
	const size_t img_size,
	Point **contour_data,
	size_t *contour_size
);

__declspec(dllexport) void releaseContour(Point *contour);

} // namespace acr